-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tsdoc for refetch
, fetchMore
and other returned values for suspense hooks
#11394
Conversation
|
✅ Deploy Preview for apollo-client-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvement!
Do you think it makes sense to split it up into 2 PRs and get most of this into main
?
size-limit report 📦
|
PS: there is slight overlap with https://github.com/apollographql/apollo-client/pull/11381/files#diff-61523aec6529faa71ab822ab03e00aa48743ebf5c156794ed907f2765e00d5f2 - feel free to steal anything from there if you want to. I'm happy to get any changes in here and remove them from that one :) |
@phryneas let's use your PR. I can update anything in here after that one is merged to |
Oops, just noticed this. Actually this is a great idea! I'll open a new PR based off |
Adds tsdoc comments to the result objects returned from our existing suspense hooks.
Original ask:
useLoadableQuery
hook #11300 (comment)useLoadableQuery
hook #11300 (comment)